package conson.tech.manage.app.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * ClassName: AppTwoConfigVo
 * Description: 首页生活页第二层配置vo
 * Author: HXL
 * Date: 2020/4/24 4:31 下午
 * Version: 1.0
 */
@Data
@ApiModel("AppTwoConfigVo")
public class AppTwoConfigVo implements Serializable {
    private static final long serialVersionUID = -6659449994726315431L;

    @ApiModelProperty(value = "第二次分组的ID",example = "第二次分组的ID")
    private Long towGroupId;
    @NotBlank(message = "第二层标题名称不能为空")
    @ApiModelProperty(value = "第二层标题名称",example = "第二层标题名称")
    private String twoTitleName;
    @NotBlank(message = "第二层图片地址不能为空")
    @ApiModelProperty(value = "第二层图片地址",example = "第二层图片地址")
    private String twoPictureUrl;
    @NotNull(message = "第二层排序不能为空")
    @ApiModelProperty(value = "第二层排序",example = "第二层排序")
    private Integer twoSort;
}
